package cn.edu.nju.software.cdiy.service;

import java.util.List;

import cn.edu.nju.software.cdiy.bean.Admin;
import cn.edu.nju.software.cdiy.bean.Supplier;
import cn.edu.nju.software.cdiy.bean.Uorder;
import cn.edu.nju.software.cdiy.bean.Value;

public interface AdminService {
    public  Admin login(String signInName, String password);
	public  void updateAdmin(Admin admin);
	public Admin registor(Admin admin);
	
	/*
	 * 将用户订单状态为“订单已处理“转化为”订单已发货“
	 */

	public void setState(Uorder u,Value state);
	public List<Supplier> getSupplierList();
}
